const obj = {
  name: "zs",
  age: 12,
};

// 重命名
const { name: objName = "jack", age } = obj;
const name = "ls";
console.log(name, age, objName);
